#ifndef INDIGREQUEST_H_
#define INDIGREQUEST_H_

#include "Command.h"
#include "Protocol.h"

class CommandInDigRequest : public Command
{
public:
	CommandInDigRequest() : Command()
	{
		MyCommandType = InDigRequest;
		ArgumentsLength = 1;
	}

	FailCode DoCommand()
	{
		SendDigitalInput(Arguments[0], digitalRead(Arguments[0]));
		return Success;
	}
};

#endif
